package com.lyf.scm.admin.domain.service;

import com.github.pagehelper.PageInfo;
import com.lyf.scm.admin.api.dto.OperationLogRecordDTO;

import java.util.List;

/**
 * @Author: huangtao
 * @Description: 操作日志
 * @Date: create in 2020/10/5
 */
public interface OperationLogRecordService {

    /**
     * 查询操作日志
     *
     * @param operationLogRecord
     * @return
     */
    PageInfo<OperationLogRecordDTO> getOperationLogs(OperationLogRecordDTO operationLogRecord);

    /**
     * 删除操作标识、数据源对应数据
     *
     * @param opSign 操作标识
     * @param type 操作数据源
     */
    void delete(String opSign, Integer type);

    void bigDataInitiating();

    void rmByOpSign(List<OperationLogRecordDTO> operationLogRecordDTOs);

    void opLogInitiating(List<Long> ids);
}
